package dpatterns.decorator.starbuzz.condiments.impl;

import dpatterns.decorator.starbuzz.coffee.Coffee;
import dpatterns.decorator.starbuzz.condiments.CondimentDecorator;

public class Caramel extends CondimentDecorator {
	
	public Caramel(Coffee newCoffee) {
		super(newCoffee);
		System.out.println("Adding Caramel.");
	}

	@Override
	public String getDescription() {
		return tempCoffee.getDescription()+", Caramel";
	}

	@Override
	public double getCost() {
		return tempCoffee.getCost()+1.00;
	}
}
